package com.yunfangdata.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Getter
@Setter
public class Customer extends BaseDomain{

    private Long id;

    @DateTimeFormat(pattern = "yyyy-MMM-dd")
   @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date inputdate;

    //名字
    private String name;
    //微信
    private String wno;
    //qq
    private Integer qno;
    //电话
    private Long tel;
    //年龄
    private Integer age;
    //邮件
    private String email;
    //地址
    private String address;
    //专业
    private String profession;

    //工作时长
    private Long gyear;


    //约访时间
    @DateTimeFormat(pattern = "yyyy-MMM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date visiting;

    //备注
    private String node;
    //跟踪时间
    @DateTimeFormat(pattern = "yyyy-MMM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date gzdate;
    //是否缴费
    private Boolean statue;

    //跟进状态  1 为正在跟进  ,0为无法跟进
    private Boolean follow;

    //员工关联
    private Employee  employee;

    private Long classroomId;

    //字典对象
    private DataDict parent;
    //校区
    private DataDict school;
    //学科
    private DataDict discipline;
    //意向程度
     private DataDict degree;
    //学历
     private DataDict education;
   //客户来源
     private DataDict source;


    //意向班级
    private Grade grade;

    //意向班级
    private Classroom classRoome;
}